@echo off
echo 🟡 测试 1: 不带 Token
curl -s -o nul -w "HTTP 状态码: %{http_code}\n" http://localhost:8080/your-api

echo 🟢 测试 2: 正确 Token
curl -s -o nul -w "HTTP 状态码: %{http_code}\n" -H "Authorization: valid-token" http://localhost:8080/your-api

echo 🔴 测试 3: 错误 Token
curl -s -o nul -w "HTTP 状态码: %{http_code}\n" -H "Authorization: invalid-token" http://localhost:8080/your-api

pause
